#include <bits/stdc++.h>
using namespace std;

// map记录 k v 
int main()
{
    map<char, string> table;
    table['-'] = "fu";
    table['0'] = "ling";
    table['1'] = "yi";
    table['2'] = "er";
    table['3'] = "san";
    table['4'] = "si";
    table['5'] = "wu";
    table['6'] = "liu";
    table['7'] = "qi";
    table['8'] = "ba";
    table['9'] = "jiu";
    string str;
    cin >> str;
    for (unsigned int i = 0; i < str.length() - 1; i++)
    {
        cout << table[str[i]] << " ";
    }
    cout << table[str[str.length() - 1]] << endl;
    return 0;
}